/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package facade;

import entity.Order2;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author lab1
 */
@Remote
public interface Order2FacadeRemote {

    void create(Order2 order2);

    void edit(Order2 order2);

    void remove(Order2 order2);

    Order2 find(Object id);

    List<Order2> findAll();

    List<Order2> findRange(int[] range);

    int count();

}
